#if !defined(TRIANGLE_H)
#define TRIANGLE_H

#include <DirectXMath.h>
#include <d3d11.h>

struct VertexIn {
    DirectX::XMFLOAT3 pos;
    DirectX::XMFLOAT4 color;
    static const D3D11_INPUT_ELEMENT_DESC inputLayout[2];
};

struct VertexOut {
    DirectX::XMFLOAT4 posH;
    DirectX::XMFLOAT4 color;
    // static const D3D11_OUTPUT_ELEMENT_DESC outputLayout[2];
};

struct ConstantBuffer
{
    DirectX::XMMATRIX world;
    DirectX::XMMATRIX view;
    DirectX::XMMATRIX proj;

    DirectX::XMFLOAT4 color;
    UINT useCustom;
};


#endif // TRIANGLE_H
